<?php 
require_once('../../libraryfiles/config.php');
require_once('../../confirmDelete.php');
$view = (isset($_GET['view'])) ? $_GET['view'] : '';
$include = '
<script type="text/javascript" src="'.W_ROOT.'/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="'.W_ROOT.'/js/jquery.tablednd_0_5.js"></script>
<script type="text/javascript" src="'.W_ROOT.'/js/function.js"></script>
<script type="text/javascript" src="'.W_ROOT.'/js/common.js"></script>
';

switch ($view) {
	case 'add' :
		if(isset($_GET['id'])){
			$id=(int)$_GET['id'];   
	   	}
	   	else if(isset($_POST['id'])){
			$id=$_POST['id'][0];
	   	}
	  	else $id = 0;
		$site_title = "Administrator-Setting";
		$content = 'setting.php';
		break;
}

require_once TMP_ADMIN_PATH;
?>